﻿using AppData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppData.DTO
{
    public class MovieProto
    {
        public string name { get; set; }
        //public int totoalEpisodeCount { get; set; }
        public string sub_genre { get; set; }
        public string description { get; set; }
        public string author { get; set; }
        public string uploader { get; set; }
        public int publishDate { get; set; }
        public IFormFile file { get; set; }
    }

    public class VideoProto
    {
        public long movieId { get; set; }
        public string movieName { get; set; }
        public int episodeId { get; set; }
        public IFormFile file { get; set; }
        public string episodeName { get; set; }
    }

    //public class VideoProto
    //{
    //    public byte[] contentData { get; set; }
    //}
}